/*
 * ApplicationCommon.h
 *
 *  Created on: 22/04/2012
 *      Author: alex
 */

#ifndef APPLICATIONCOMMON_H_
#define APPLICATIONCOMMON_H_

#define UNDEFINED -1
#include <iostream>
#include <sstream>
#include <list>
#include "../common/Object.h"

typedef int FloorIdentifier;
typedef int ElevatorIdentifier;
typedef std::list<FloorIdentifier> FloorIdentifierList;
/**
 *
 */
typedef enum{GOING_UP=0,GOING_DOWN,STOPPED} ElevatorStatusEnum;

#define UNDEFINED -1

void printIdentifierList(FloorIdentifierList idList);

std::string identifierListToString(FloorIdentifierList idList);

#endif // APPLICATIONCOMMON_H_
